← Back to issue list

Pulling from private repository with passphrase protected key fails

View original Launchpad issue

Metadata

Project
snapcraft (launchpad)
Number
#2053119
Type
issue
State
open
Author
~gbeuzeboc
Labels
Created
2024-02-14 09:23:53.079782+00:00
Updated
2024-02-14 09:23:53.079782+00:00
Closed

Current evaluation

No evaluation has been recorded for this issue yet.

Issue body

When using snapcraft --bind-ssh with a key that is passphrase protected, the passphrase is never asked and snapcraft fails. logs: Starting Snapcraft 8.0.2 Logging execution to '~/.local/state/snapcraft/log/snapcraft-20240212-125110.139787.log' Running on amd64 for amd64 Launching instance... Creating instance from base instance Starting instance Starting Snapcraft 8.0.2 Logging execution to '/tmp/snapcraft.log' Running on amd64 for amd64 Initializing parts lifecycle Installing build-packages Installing build-snaps Pulling cos-registration-agent Failed to pull source: command ['git', 'clone', '--recursive', '<email address hidden>:test/test.git', '/root/parts/test/src'] exited with code 128. Make sure sources are correctly specified.

Evaluation history

No evaluation history available.